<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
<head>
<title>list</title>
<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
<style type="text/css">
<!--
body {
	background-color: #C4D8ED;
	margin-left: 15px;
	margin-top: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	font-size: 12px;
}

table {
	font-size: 12px;
}
-->
</style>
</head>

<body>
<form action="${ctx}/demo/demoManage.do" method="post">
<table width="100%" border="0" align="center" cellpadding="2"
	cellspacing="1" bgcolor="#C4D8ED">
	<input type="hidden" name="method" value="list" />
	<logic:present name="DemoRange">
		<logic:iterate id="demo" name="DemoRange" property="records">
			<tr bgcolor="#FFFFFF">
				<td align="center">${demo.id}</td>
				<td align="center">${demo.username}</td>
				<td align="center">${demo.password}</td>
				<td align="center"><a
					href="${ctx}/demo/demoManage.do?method=toUpdateDemo&demo.id=${demo.id}">修改</a></td>
				<td align="center"><a href="#"
					onmousedown="if(confirm('是否删除？')==true) location.href='${ctx}/demo/demoManage.do?method=deleteDemo&demo.id=${demo.id}'">删除</a></td>
			</tr>
		</logic:iterate>
	</logic:present>
	<tr>
		<td colspan="5" align="center"><a
			href="${ctx}/demo/demoManage.do?method=toAddDemo">添加</a></td>
	</tr>
	<tr>
		<td colspan="5"><%@ include file="/pages/safeai/jsp/common/page.jsp"%>
		</td>
	</tr>
</table>
</form>
</body>
</html>